package com.infinity.springboot.thymeleaf.model;


import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * @Author: wuxiang
 * @Description: 用户实体类
 * @Date: Create in 2020/6/16 20:43
 */
@Getter
@Setter
@Entity
public class User {

    /**
     * 用户名
     */
    @Id
    private String userName;

    /**
     * 年龄
     */
    private int age;


    /**
     * 密码
     */
    private String password;
}
